extends Area2D
@onready var animated_sprite_2d: AnimatedSprite2D = $AnimatedSprite2D

func _ready() -> void:
	animated_sprite_2d.play("Rotating")

func _on_body_entered(body: Node2D) -> void:
	if body.is_in_group("Player"):
		body.set_position($DestnationPoint.global_position)
